﻿using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Collections.ObjectModel;

namespace Transportr
{
    public class LineDetailsViewModel : BaseItemViewModel
    {
        private LineDetailsItemViewModel mCurrentItem;

        public LineDetailsModel LineDetails { get; private set; }

        public LineDetailsItemViewModel CurrentItem
        {
            get { return mCurrentItem; }
            set
            {
                if (value != mCurrentItem)
                {
                    mCurrentItem = value;
                    NotifyPropertyChanged("CurrentItem");
                }
            }
        }

        public LineDetailsViewModel()
        {
            LineDetails = new LineDetailsModel();
        }
    }
}